package com.chenyuxin.ilp.model.enums.exception;

import lombok.Getter;

@Getter
public enum PlanExceptionEnums implements BaseExceptionEnum{
    DELETE_PLAN_CATEGORY_FAIL(42001,"删除学习计划分类失败"),
    PLAN_EXIST(402002,"学习计划中存在该计划分类，无法删除");

    private final Integer code;
    private final String errorMessage;


    PlanExceptionEnums(Integer code, String errorMessage) {

        this.code = code;
        this.errorMessage = errorMessage;

    }
}
